# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ropeadope
pkgver=1.1
pkgrel=5
groups=('blackarch' 'blackarch-anti-forensic')
pkgdesc='A linux log cleaner.'
arch=('any')
url='http://www.highhacksociety.com/'
license=('custom:unknown')
depends=('python2')
source=("$pkgname::https://github.com/nullsecuritynet/tools/raw/main/logcleaner/ropeadope/release/ropeadope.py")
sha512sums=('85d495a4b9ab2026243e8b0763d1a3051056c352dd4a13ecdef9c44fc1c687d5a7288f4272e207161f38661ab0d9fd5fd2c0d655cb73b19f3e79898d139f6c36')

prepare(){
  sed -i 's|env python$|env python2|' $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

